﻿<html>
<head>
	<title>Data types and variables - Integer types</title>
	<link href="styles/js-console.css" rel="stylesheet" />
</head>
<body>
	<div id="js-console"></div>
	<script src="scripts/js-console.js"></script>
	<script>
		var a = 0.1;
		var b = 0.2;
		var sum = 0.3;
		var equal = (a + b == sum);

		jsConsole.writeLine("a+b = " + (a + b) + ", sum = " + sum + ", sum == a+b? is " + equal);
	</script>
</body>
</html>
